package edu.scau.divineplace.entity.query.content;

import edu.scau.divineplace.entity.enums.RoleTruthEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import java.util.List;

/**
 * @Author: x1aolone
 * @Date: 2021/1/3 15:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("ContentManageQuery")
public class ContentManageQuery {

    @ApiModelProperty(value = "基本信息")
    @Valid
    private ContentBasicInfoQuery basicInfo;

    @ApiModelProperty(value = "额外信息")
    @Valid
    private List<ContentExtraInfoQuery> extraInfos;

    @ApiModelProperty(value = "角色的列表")
    @Valid
    private List<RoleManageQuery> parts;

    @ApiModelProperty(value = "制作人的列表")
    @Valid
    private List<RoleManageQuery> producers;

    @ApiModelProperty(value = "音乐的Discs")
    @Valid
    private List<ContentDiscQuery> discs;

    @ApiModelProperty(value = "内容类型为人物时才有, 人物是否为真实人物")
    private RoleTruthEnum roleTruth;
}
